$OpenBSD: patch-CMakeLists_txt,v 1.1 2013/12/08 19:13:32 zhuk Exp $
Fix linking.
--- CMakeLists.txt.orig	Thu Nov  7 00:18:33 2013
+++ CMakeLists.txt	Thu Nov  7 00:18:59 2013
@@ -158,8 +158,8 @@ kde4_add_ui_files(kdegamesprivate_LIB_SRCS
 
 kde4_add_library(kdegamesprivate SHARED ${kdegamesprivate_LIB_SRCS})
 
-target_link_libraries(kdegamesprivate ${KDE4_KDEUI_LIBS} ${KDE4_KDNSSD_LIBS} ${KDE4_KNEWSTUFF3_LIBS} ${QT_QTXML_LIBRARY} ${QT_QTNETWORK_LIBRARY} kdegames)
-target_link_libraries(kdegamesprivate LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY} ${QT_QTNETWORK_LIBRARY} kdegames)
+target_link_libraries(kdegamesprivate kdegames ${KDE4_KDEUI_LIBS} ${KDE4_KDNSSD_LIBS} ${KDE4_KNEWSTUFF3_LIBS} ${QT_QTXML_LIBRARY} ${QT_QTNETWORK_LIBRARY})
+target_link_libraries(kdegamesprivate LINK_INTERFACE_LIBRARIES kdegames ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY} ${QT_QTNETWORK_LIBRARY})
 
 set_target_properties(kdegamesprivate PROPERTIES
     VERSION   1.0.0
